package com.alibaba.dubbo.demo.provider.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.alibaba.dubbo.demo.GoodsService;
import com.alibaba.dubbo.demo.provider.dao.GoodsMapper;
import com.alibaba.dubbo.demo.provider.po.Goods;
@Service
public class GoodsServiceImpl implements GoodsService {
	@Autowired
	private GoodsMapper goodsMapper;
	@Override
	public Goods selectByPrimaryKey(Integer id) {
		return goodsMapper.selectByPrimaryKey(id);
	}

}
